package cn.wolfcode.education.mapper;

import cn.wolfcode.education.domain.Classgrade;
import cn.wolfcode.education.query.QueryObject;

import java.util.List;

public interface ClassgradeMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Classgrade record);

    Classgrade selectByPrimaryKey(Long id);

    List<Classgrade> selectAll();

    int updateByPrimaryKey(Classgrade record);

    int queryForCount(QueryObject qo);

    List<Classgrade> queryForList();

    void updateTeacher(Long id);

    List<Classgrade> queryByClassroomId(Long classroomId);

    List<Classgrade> getAllClassgrade();
}